<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://smarttemplate4/skin/style.css" type="text/css" title="SmartTemplateSettings" ?>

<!DOCTYPE prefwindow SYSTEM "chrome://smarttemplate4/locale/smartTemplate-settings.dtd">

<!-- #### Help Content #### -->
<html xmlns="http://www.w3.org/1999/xhtml">


	<head>
		<title>help.xhtml</title>
	</head>
	<body>
		<div class="help" id="helpContents" onclick="containerClick(this, event);">
		<!-- ##### Fix Variables #### -->
		<h1 class="helpchapter">&fix_var.cap;</h1>
			<ul>
				<li><code>%identity(name)%</code> = &ownname.label; (<code class="deprecated">%ownname%</code>)</li>
				<li><code>%identity(mail)%</code> = &ownmail.label; (<code class="deprecated">%ownmail%</code>)</li>
				<li><code>%identity(firstname)%</code><code>%identity(name,link)%</code><code>%identity(firstname,link)%</code></li>
				<li><code class="noWrite">%date%</code> = &date.label;</li>
				<li><code class="noWrite">%to(mail)%</code> = &tomail.label;</li>
				<li><code class="noWrite">%from(mail)%</code> = &frommail.label;</li>
				<li><code class="noWrite">%cc(mail)%</code> = &ccmail.label;</li>
				<li><code>%sig%</code><code>%sig(html)%</code><code>%sig(text)%</code> = &sig.label;</li>
				<li><code>%sig(2)%</code> = &sig2.label;</li>
				<li><code>%file(filePath,encoding)%</code> = &fileHTML.label;</li>
				<li><code>%file(imagePath,altText)%</code> = &fileImage.label;</li>
			</ul>
		       <!--
                        <br />
			<code>%sig%</code> = &sig.label;
			<br />
			<code>%sig(2)%</code> = &sig2.label;
                       -->
		<!-- ##### "To" Variables #### -->
		<h1 class="helpchapter">&to_var.cap;</h1>
			<aside>(&to_note.label;)</aside>
			<ul>
				<li><code class="noWrite">%to%</code> = &to.label;</li>
				<li><code class="noWrite">%to(firstname)%</code> = &tofirstname.label;</li>
				<li><code class="noWrite">%to(name)%</code> = &toname.label;</li>
			</ul>
			
			<!-- ##### "From" Variables #### -->
			<h1 class="helpchapter">&from_var.cap;</h1>
			<aside>(&from_note.label;)</aside>
			<ul>
				<li><code class="noWrite">%from%</code> = &from.label;</li>
				<li><code class="noWrite">%from(firstname)%</code> = &fromfirstname.label;</li>
				<li><code class="noWrite">%from(name)%</code> = &fromname.label;</li>
			</ul>
		<!-- ##### "CC" Variables #### -->
		<h1 class="helpchapter">&cc_var.cap;</h1>
			<aside>(&cc_note.label;)</aside>
			<ul>
				<li><code class="noWrite">%cc%</code> = &cc.label;</li>
				<li><code class="noWrite">%cc(firstname)%</code> = &ccfirstname.label;</li>
				<li><code class="noWrite">%cc(name)%</code> = &ccname.label;</li>
			</ul>
		<!-- ##### Special Formatting "{Brackets}" NEW "[[Brackets]]" #### -->
		<h1 class="helpchapter">&spec_form.cap;</h1>
			<aside>&specform_note.label;
				<br /><b>&ex_brack.label;</b><br />
			</aside>&brack_with_var.label;:<aside>
			</aside>
			<ul>
				<li><code class="noWrite">%to%</code> <code class="noWrite">%to(firstname)%</code> <code class="noWrite">%to(name)%</code> <code class="noWrite">%to(mail)%</code></li>
				<li><code class="noWrite">%cc%</code> <code class="noWrite">%cc(firstname)%</code> <code class="noWrite">%cc(name)%</code> <code class="noWrite">%cc(mail)%</code></li>
				<li><code class="noWrite">%bcc%</code> <code class="noWrite">%bcc(firstname)%</code> <code class="noWrite">%bcc(name)%</code> <code class="noWrite">%bcc(mail)%</code></li>
			</ul>
		<!-- ##### Subject Variables #### -->
		<h1 class="helpchapter">&sub_var.cap;</h1>
			<ul>
				<li><code class="noWrite">%subject%</code> = &sub.label;</li>
				<li><code class="noWrite">%subject(2)%</code> = &sub2.label;</li>
			</ul>
		<!-- ##### Special Variables (Message-Headerkeys) #### -->
		<h1 class="helpchapter">&spec_var.cap;</h1>
			<ul>
				<li><code class="noWrite">%Message-ID%</code> = &messid.label;</li>
				<li><code class="noWrite">%Newsgroups%</code> = &newsgr.label;</li>
				<li><code class="noWrite">%X-Mailer%</code> = &xmail.label;</li>
				<li><code class="noWrite">%...%</code> = &any.label;</li>
			</ul>
		<!-- ##### Fix Variables for Date/Timezone #### -->
		<h1 class="helpchapter">&fix_vartz.cap;</h1>
			<aside>(&fix_vartz_note.label;)</aside>
			<ul>
				<li><code>%datelocal%</code> = &datelocal.label;</li>
				<li><code>%dateshort%</code> = &dateshort.label;</li>
				<li><code>%date_tz%</code> = &datetz.label;</li>
				<li><code>%tz_name%</code> = &tzname.label;</li>
			</ul>
		<!-- ##### Custom Variables #### -->
		<h1 class="helpchapter">&var_custom.cap;</h1>
			<aside>(&customdf_note.label;)</aside>
			<ul>
				<li><code>%A%</code> = &A.label;</li>
				<li><code>%a%</code> = &a.label;</li>
				<li><code>%B%</code> = &B.label;</li>
				<li><code>%b%</code> = &b.label;</li>
				<li><code>%d%</code> = &d.label;</li>
				<li><code>%e%</code> = &e.label;</li>
				<li><code>%m%</code> = &m.label;</li>
				<li><code>%n%</code> = &n.label;</li>
				<li><code>%Y%</code> = &Y.label;</li>
				<li><code>%M%</code> = &M.label;</li>
				<li><code>%S%</code> = &s.label;</li>
				<li><code>%H%</code> = &h.label;</li>
				<li><code>%k%</code> = &k.label;</li>
				<li><code>%I%</code> = &i.label;</li>
				<li><code>%l%</code> = &l.label;</li>
				<li><code class="noWrite">%p%</code> = &p.label;</li>
				<li><code class="noWrite">%p(1)%</code> = &p1.label;</li>
				<li><code class="noWrite">%p(2)%</code> = &p2.label;</li>
			</ul>
		<!-- ##### X:=Sent Variable #### -->
		<h1 class="helpchapter">&var_xsent.cap;</h1>
			<aside>&xsent_note.label;</aside>
			<ul>
				<li><code class="noWrite">%X:=sent%</code></li>
			</ul>
		<!-- ##### Longstring Description #### -->
		<h1 class="helpchapter">&xsent_long.cap;</h1>
			<ul>
				<li><code class="noWrite">%X:=sent% %A%, %d%.%m%.%Y% %H%:%M% %date_tz%</code>
				    <br />&xsent_long_result.label;</li>
			</ul>
		<!-- ##### Shortstring Description #### -->
		<h1 class="helpchapter">&xsent_short.cap;</h1>
			<ul>
				<li><code class="noWrite">%X:=sent% %datelocal%</code>
				    <br />&xsent_short_result.label;</li>
			</ul>
			<aside>&xsent_short_note.label;</aside>
			<ul>
				<li><code>%datelocal%</code> = &localedate.label;</li>
				<li><code>%dateshort%</code> = &shortdate.label;</li>
				<li><code>%date_tz%</code> = &datetimezone.label;</li>
				<li><code>%tz_name%</code> = &timezonename.label;</li>
			</ul>
		<!-- ##### HTML -> UTF-8 Note #### -->
		<h1 class="helpchapter">&html_note.cap;</h1>
			<aside>&html_note.label;</aside>
		<!-- ##### Variable Table Note #### -->
		<h1 class="helpchapter">&table.cap;</h1>
			<aside>&table_note.label;</aside>
			<!-- ##### Variable Table #### -->
			<table id="keywords">
				<tbody>
					<tr class="tr-keywords">
						<th><img class="small_icon" alt="" src="chrome://smarttemplate4/skin/icons/variable-keyword.png" />&table_keyword.label;</th>
						<th><img class="small_icon" alt="" src="chrome://smarttemplate4/skin/icons/mail-new.png" />&table_new.label;</th>
						<th><img class="small_icon" alt="" src="chrome://smarttemplate4/skin/icons/mail-reply.png" />&table_reply.label;</th>
						<th><img class="small_icon" alt="" src="chrome://smarttemplate4/skin/icons/mail-fwd.png" />&table_fwd.label;</th>
					</tr>
					<tr class="tr-keywords">
						<td><code>%A%</code> <code>%a%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%B%</code> <code>%b%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%cc(firstname)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%cc(mail)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%cc(name)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%cc%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%d%</code> <code>%e%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%date_tz%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%date%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%datelocal%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%dateshort%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%from(firstname)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%from(mail)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%from(name)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%from%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%H%</code> <code>%k%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%l%</code> <code>%i%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%M%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%m%</code> <code>%n%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%Message-ID%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%Newsgroups%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%ownmail%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%ownname%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%p(1)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%p(2)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%p(3)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%p%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%S%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%sig%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%sig(2)%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%subject%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%subject(2)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%T%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%to(firstname)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%to(mail)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%to(name)%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%to%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code>%tz_name%</code></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%X-Mailer%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%X:=sent%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%X:=today%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
					<tr class="tr-keywords">
						<td><code class="noWrite">%Y%</code></td>
						<td><div class="no"></div></td>
						<td><div class="yes"></div></td>
						<td><div class="yes"></div></td>
					</tr>
				</tbody>
			</table>
		</div>
	</body>
	<script type="text/javascript;version = 1.7">
  //<![CDATA[
		function containerClick(el, evt) {
			let code = evt.target;
			if (typeof code !='undefined') {
				if (code.tagName == 'code') {
					let exists = true;
					let element = document.getElementById('ST4Dispatcher');
					if (!element) {
						exists = false;
						element = document.createElement("CodeEventDispatcher");
						element.id = 'ST4Dispatcher';
					}

					element.setAttribute("codeWord", code.innerHTML); // now, add the payload
					element.setAttribute("class", code.className);    // class="noWrite" => cannot be used in new mail!!

					if (!exists)
						document.documentElement.appendChild(element);

					// make a new custom event
					var customEvent = document.createEvent("Events");
					customEvent.initEvent("SmartTemplate4CodeWord", true, false);
					element.dispatchEvent(customEvent);
				}
			}
		}
  //]]>
	</script>
</html>